package org.jeecg.modules.power.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 子控
 * @Author: jeecg-boot
 * @Date:   2024-03-25
 * @Version: V1.0
 */
@Data
@TableName("power_on")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="power_on对象", description="子控")
public class PowerOn {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.String id;
	/**编号*/
	@Excel(name = "编号地址", width = 15)
    @ApiModelProperty(value = "编号地址")
	private java.lang.String num;
	/**设备编号*/
	@Excel(name = "设备编号内部", width = 15)
    @ApiModelProperty(value = "设备编号内部")
	private java.lang.String sid;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
	private java.lang.String name;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private java.lang.String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;

	@ApiModelProperty(value = "0否1是继电器")
	private java.lang.String isjdq;

	@Excel(name = "设备id外", width = 15)
	@ApiModelProperty(value = "设备id外")
	@TableField(exist = false)
	private java.lang.String ddkid;

	@Excel(name = "开关", width = 15)
	@ApiModelProperty(value = "开关")
	@TableField(exist = false)
	private java.lang.String onoff;
}
